package com.hzhr.iot.device.dao.mapper.custom;

import com.hzhr.iot.device.entity.AlarmDataEntity;
import com.hzhr.iot.device.entity.CollectDataEntity;
import com.hzhr.iot.device.entity.CollectDeviceEntity;
import com.hzhr.iot.device.entity.IotDeviceEntity;
import com.hzhr.iot.device.entity.ext.AlarmDataEntityExt;
import com.hzhr.iot.device.queryModel.custom.AlarmDataCustomQueryModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PengChunMapper {
    CollectDeviceEntity select1(@Param("id") Integer id);
    IotDeviceEntity select2(@Param("id") Integer id, @Param("collectDeviceId") Integer collectDeviceId);
    List<AlarmDataEntityExt> select3(@Param("start") Integer start, @Param("count") Integer count,
                                  @Param("_greaterthanorequal_currentTm") String _greaterthanorequal_currentTm, @Param("_lessthan_currentTm") String _lessthan_currentTm,
                                  @Param("iotDeviceId") Integer iotDeviceId);
    int select4(@Param("_greaterthanorequal_currentTm") String _greaterthanorequal_currentTm, @Param("_lessthan_currentTm") String _lessthan_currentTm,
                                  @Param("iotDeviceId") Integer iotDeviceId);
}
